package com.stadium.service;

import java.util.List;
import java.util.Map;

import com.stadium.common.BaseResponse;
import com.stadium.dto.ImportPhotoDto;
import com.stadium.entity.GamePlayer;
import com.stadium.dto.GamePlayerDto;
import com.stadium.entity.TeamRecord;
import com.stadium.vo.GamePlayerVo;
import com.stadium.vo.ImportPhotoVo;
import com.stadium.vo.ImportUserVo;
import com.stadium.vo.searchVo.GamePlayerSearchVo;

/**
 * 球员表
 *
 * @author wsl
 * @email
 * @date 2021-05-11 14:58:57
 */
public interface GamePlayerSV{
	List<GamePlayer> queryBySQL(String sql, Map<String, Object> map);

    void save(GamePlayerVo gamePlayerVo);

    void saveBatch(List<GamePlayer> list);

    void delete(String id);

    void deleteBatch(String[] ids);

    void update(GamePlayerVo gamePlayerVo);

    List<GamePlayerDto> query(GamePlayerSearchVo searchVo);

    GamePlayerDto get(String id);

    int getCount(GamePlayerSearchVo gamePlayersearchVo);

    BaseResponse importUserToTeam(ImportUserVo importUserVo);

    GamePlayerDto getByUserId(String id);

    ImportPhotoDto importPhoto(ImportPhotoVo importPhotoVo) throws Exception;

    void updatePlayer(GamePlayerVo gamePlayerVo);

    TeamRecord palyerRecorg(String userId);

    List<GamePlayerDto> queryPlayerAndDface(GamePlayerSearchVo searchVo);

    int getPlayerCount(GamePlayerSearchVo searchVo);
}
